package com.lp.service.impl;

import com.lp.dao.SceneryAppletsDao;
import com.lp.po.SceneryApplets;
import com.lp.service.SceneryAppletsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SceneryAppletsServiceImpl implements SceneryAppletsService {
    @Resource
    private SceneryAppletsDao sceneryAppletsDao;

    @Override
    public SceneryApplets findAllSceneryApplets(Integer id) {
        return sceneryAppletsDao.findSceneryAppletsAll(1);
    }

    @Override
    public void updata(SceneryApplets sceneryApplets) {
        sceneryAppletsDao.Applets(sceneryApplets);
    }






    @Override
    public List<SceneryApplets> wxfindAllSceneryApplets() {
        return sceneryAppletsDao.wxfindSceneryAppletsAll();
    }

    @Override
    public SceneryApplets getById(Integer id) {
        return sceneryAppletsDao.getById(id);
    }
}
